package com.yuting.model;

import java.io.Serializable;

/**
 * 这个类主要是管理员登录之后对学生信息进行处理的类
 * @author cyt
 * @date 2020/7/2
 */
public class StudentMessage implements Serializable {


    private static final long serialVersionUID = 5146306289534557735L;

    private String type;

    public StudentMessage(String type, Student student) {
        this.type = type;
        this.student = student;
    }

    @Override
    public String toString() {
        return "StudentMessage{" +
                "type='" + type + '\'' +
                ", student=" + student +
                '}';
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    private Student student;
}
